home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / ProcessWaitClose.au3 < prev    next >
Text File  |  2007-09-08  |  205b  |  7 lines

  1. ;waits until no instance of notepad.exe exists
  2. ProcessWaitClose("notepad.exe")
  3.  
  4. ; This will wait until this particular instance of notepad has exited
  5. $PID = Run("notepad.exe")
  6. ProcessWaitClose($PID)
  7.